package com.lingshi.shopping_order_service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingshi.shopping.entity.Orders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersMapper extends BaseMapper<Orders> {

    List<Orders> getOrdersByUserIdOrderStatus(@Param("userId") Long userId,@Param("status") Integer status);

    Orders selectByPrimaryKey(String id);
}
